package com.ktwlsoft.archivemanage.payload.unitArchive;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.Year;

@ApiModel("室藏档案管理删除")
@Getter
@Setter
public class UnitArchiveManageDeleteRequest {

    /**业务编号(来自年度报送或手动添加)**/
    @ApiModelProperty("业务编号(来自年度报送或手动添加)")
    @NotNull
    private Long businessId;

    /**室藏档案主键列表**/
    @ApiModelProperty("室藏档案主键列表")
    @NotNull
    private Long[] archiveIds;

    @ApiModelProperty("年度")
    @NotNull
    private Year year;

    @ApiModelProperty("单位id")
    @NotNull
    private Long unitId;
}
